import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'

import Books from '../components/books/Books'
import News from '../components/news/News'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'books',
      component: Books
    },
    {
      path:"/news",
      name:"news",
      component:News
    }
  ]
})
